﻿<%@ Page Language="C#" AutoEventWireup="true" Inherits="OnlineExam.Web.mag.old.viewtest" Codebehind="viewtest1.aspx.cs" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>试卷预览</title>c
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table cellspacing="0" style="font-size: 12px; font-family: Tahoma; border-collapse: collapse;
            width: 100%; height: 100%;" cellpadding="0" align="center" border="1">
            <tr>
                <td style="height: 4px;" colspan="3">
                    &nbsp;</td>
            </tr>
             
            <tr>
                <td align="center">
                    <a id="top"></a><font color="#4D2600" size="5" style="font-family: 楷体_GB2312">
                        <asp:Label ID="Label7" runat="server" Text="考试试题：" /><asp:Label ID="Label1" runat="server"
                            Text="<<" /><asp:Label ID="lblPaperName" runat="server"></asp:Label><asp:Label ID="Label12"
                                runat="server" Text=">>" /></font>
                </td>
            </tr>
            <tr>
                <td>
                    <br />
                    <asp:ScriptManager ID="ScriptManager1" runat="server">
                    </asp:ScriptManager>
                   
                     <asp:Panel ID="Panel1" runat="server">
                     <a style="font-family: 楷体_GB2312; font-size: 15px;font-weight: bold;">
                        一.单选（每题<asp:Label ID="labSingle" runat="server" Text=""></asp:Label>分）
                    </a>
                    <br />
                
                    <asp:Repeater runat="server" ID="singleRep">
                        <ItemTemplate>
                            <a>
                               &nbsp; <%# singeCount++ %>
                                .<%# Eval("Title") %><asp:HiddenField runat="server" Value='<%# Eval("ID") %>' ID="titleId" />
                            </a>
                            <div>
                                &nbsp; &nbsp;&nbsp; &nbsp;A.<asp:RadioButton ID="rbA" GroupName="option" runat="server" Text='<%# Eval("AnswerA") %>' />
                                <br />
                                &nbsp; &nbsp;&nbsp; &nbsp;B.<asp:RadioButton ID="rbB" GroupName="option" runat="server" Text='<%# Eval("AnswerB") %>' />
                                <br />
                                &nbsp; &nbsp;&nbsp; &nbsp;C.<asp:RadioButton ID="rbC" GroupName="option" runat="server" Text='<%# Eval("AnswerC") %>' />
                                <br />
                                &nbsp; &nbsp;&nbsp; &nbsp;D.<asp:RadioButton ID="rbD" GroupName="option" runat="server" Text='<%# Eval("AnswerD") %>' />
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    </asp:Panel>

                    <asp:Panel ID="Panel2" runat="server">
                     <a style="font-family: 楷体_GB2312; font-size: 15px;font-weight: bold;">
                    <br />
                        二.多单选（每题<asp:Label ID="lbMulti" runat="server" Text=""></asp:Label>分）
                    </a>
                    <br />
                    
                    <asp:Repeater runat="server" ID="rpMulti">
                        <ItemTemplate>
                            <a>
                                &nbsp;<%# singeCount++ %>.<%# Eval("Title") %><asp:HiddenField runat="server" Value='<%# Eval("ID") %>' ID="titleId" />
                            </a>
                            <div>
                                &nbsp; &nbsp;&nbsp; &nbsp;A.<asp:CheckBox ID="CheckBox1" runat="server" Text='<%# Eval("AnswerA") %>'></asp:CheckBox>
                                <br />
                                &nbsp; &nbsp;&nbsp; &nbsp;B.<asp:CheckBox ID="CheckBox2" runat="server" Text='<%# Eval("AnswerB") %>'></asp:CheckBox>
                                <br />
                                &nbsp; &nbsp;&nbsp; &nbsp;C.<asp:CheckBox ID="CheckBox3" runat="server" Text='<%# Eval("AnswerC") %>'></asp:CheckBox>
                                <br />
                                &nbsp; &nbsp;&nbsp; &nbsp;D.<asp:CheckBox ID="CheckBox4" runat="server" Text='<%# Eval("AnswerD") %>'></asp:CheckBox>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    </asp:Panel>

                    <asp:Panel ID="Panel3" runat="server">
                     <a style="font-family: 楷体_GB2312; font-size: 15px;font-weight: bold;">
                    <br />
                        三.判断选（每题<asp:Label ID="lbJudge" runat="server" Text=""></asp:Label>分）
                    </a>
                    <br />
                    <asp:Repeater runat="server" ID="rpJudge">
                        <ItemTemplate>
                            <a>
                                &nbsp;<%# singeCount++ %>.<%# Eval("Title") %><asp:HiddenField runat="server" Value='<%# Eval("ID") %>' ID="titleId" />
                            </a>
                            <div>
                                <%--<asp:Label ID="Label10" runat="server" Text='<%# Eval("Title","{0}") %>'>--%>
                                &nbsp; &nbsp;&nbsp; &nbsp;<asp:RadioButton ID="rbA" GroupName="option" runat="server" Text="正确" />
                                <br />
                                &nbsp; &nbsp;&nbsp; &nbsp;<asp:RadioButton ID="rbB" GroupName="option" runat="server" Text="错误" />
                                <%--<asp:CheckBox ID="CheckBox5" runat="server" Text="正确"></asp:CheckBox>--%>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    </asp:Panel>

                    <asp:Panel ID="Panel4" runat="server">
                    <a style="font-family: 楷体_GB2312; font-size: 15px;font-weight: bold;">
                    <br />
                        四.填空选（每题<asp:Label ID="lbFillBlank" runat="server" Text=""></asp:Label>分）
                    </a>
                    <br />
                    <asp:Repeater runat="server" ID="rpFillBlank">
                        <ItemTemplate>
                            <a>
                                &nbsp;<%# singeCount++ %>.<%# Eval("FrontTitle") %><asp:HiddenField runat="server" Value='<%# Eval("ID") %>' ID="titleId" />
                            </a>
                            <div>
                                <asp:TextBox ID="TextBox1" runat="server" Width="1000px" Style="border-bottom: gray   1px   solid"
                                    BorderStyle="None"></asp:TextBox>
                                <asp:Label ID="Label15" runat="server" Text='<%# Eval("BackTitle") %>'>
                                </asp:Label>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    </asp:Panel>

                    <asp:Panel ID="Panel5" runat="server">
                    <a style="font-family: 楷体_GB2312; font-size: 15px;font-weight: bold;">
                    <br />
                        五.问答选（每题<asp:Label ID="lbQuestion" runat="server" Text=""></asp:Label>分）
                    </a>
                    <br />
                    <asp:Repeater runat="server" ID="rpQuestion">
                        <ItemTemplate>
                            <a>
                                &nbsp;<%# singeCount++ %>.<%# Eval("Title") %><asp:HiddenField runat="server" Value='<%# Eval("ID") %>' ID="titleId" />
                            </a>
                            <div>
                                <asp:TextBox ID="TextBox2" runat="server" Width="1000px" TextMode="MultiLine"></asp:TextBox>
                            </div>
                        </ItemTemplate>
                    </asp:Repeater>
                    </asp:Panel>
                    <br />
                    <br />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
